﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Assets._Script.Entity
{
    public class Cat : Pet
    {
        
        public Cat()
        {
        }

        public Cat(string name, string type, int age, string color) : base(name, type, age, color)
        {
        }

        //猫类独有的方法：爬树
        public void ClimbTree() {
            Debug.Log($"{this.Type}:{this.Name}嗖的一声，闪电一样爬到树梢上，对着你得意地竖起了尾巴！");
        }

        public override void Cry()
        {
            Debug.Log($"{this.Type}:{this.Name}正在大声的喵喵叫......");
        }
    }
}
